package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TmdDutyApplication;
import com.ruoyi.system.domain.TmdDutyDatePeople;

/**
 * 排班申请Service接口
 * 
 * @author ruoyi
 * @date 2024-04-20
 */
public interface ITmdDutyApplicationService 
{
    /**
     * 查询排班申请
     * 
     * @param id 排班申请主键
     * @return 排班申请
     */
    public TmdDutyApplication selectTmdDutyApplicationById(Long id);

    /**
     * 查询排班申请列表
     * 
     * @param tmdDutyApplication 排班申请
     * @return 排班申请集合
     */
    public List<TmdDutyApplication> selectTmdDutyApplicationList(TmdDutyApplication tmdDutyApplication);

    /**
     * 新增排班申请
     * 
     * @param tmdDutyApplication 排班申请
     * @return 结果
     */
    public int insertTmdDutyApplication(TmdDutyApplication tmdDutyApplication,List<TmdDutyDatePeople> dutyDatePeopleList);

    /**
     * 修改排班申请
     * 
     * @param tmdDutyApplication 排班申请
     * @return 结果
     */
    public int updateTmdDutyApplication(TmdDutyApplication tmdDutyApplication);

    /**
     * 批量删除排班申请
     * 
     * @param ids 需要删除的排班申请主键集合
     * @return 结果
     */
    public int deleteTmdDutyApplicationByIds(String ids);

    /**
     * 删除排班申请信息
     * 
     * @param id 排班申请主键
     * @return 结果
     */
    public int deleteTmdDutyApplicationById(Long id);

    List<TmdDutyApplication> getAllApp();
}
